<?php
/**
 * Created by PhpStorm.
 * User: t
 * Date: 2024/3/25
 * Time: 16:57
 */

namespace app\home\model;

use think\Model;


/**
 * @mixin \think\Model
 */
class AmountLog extends Model
{
    protected $name = "amount_log";



    public function  byTimeStatistics($where,$field,$group){
        return $this->where($where)->field($field)->group($group)->select()->toArray();
    }

}